/*
    SlideScript - minimalistic top-down scripting language.
    (C) Copyright 2014-2022 Chris Dorman - some rights reserved (GPLv2)

    View README file supplied with this software for more details
*/

#include "x3mem.h"

#ifndef   MY_GLOBAL
#define   MY_GLOBAL extern
#endif /* MY_GLOBAL */

struct s_variables
{
    char var_name [MAX_VAR_NAME_LEN];
    char *var_data;
};

typedef struct s_variables VARS;
MY_GLOBAL VARS svars [MAXVARS];

UX3_EXT QLIST QM_VARIABLES [ONE];     // Dynamic-memory QLIST

void set_var(int index, char *varname, char *vardata);
int get_var_count();
char *get_var_data(char *varname);
char *clear_var_data(char *varname);
char *parse_vars(char *string);
